//
//  NameSP.hpp
//  Practice9
//
//  Created by 赵世杰 on 2020/7/5.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#ifndef NameSP_hpp
#define NameSP_hpp

#include <stdio.h>

#endif /* NameSP_hpp */


namespace SALES {
    
const int QUARTERS = 4;

struct Sales
{
    double sales[QUARTERS];
    double average;
    double max;
    double min;
    
};


void setSales(Sales &s , const double ar[] , int n);

void setSales(Sales &s);

void showSales(const Sales &s);


}

